package com.bigknow.appstore.web.framework.entity;

import java.util.List;

/**
 * Created by TwelveFoldEr on 2016/3/21.
 */
public interface ITreeEntity<T extends ITreeEntity> {

    public String getCode();

    public void setCode(String code);

    public String getName();

    public void setName(String name);

    public String getParentCode();

    public void setParentCode(String parentCode);

    public String getParentName();

    public void setParentName(String parentName);

    public List<T> getChildren();

    public void setChildren(List<T> list);

    public Integer getSort();

    public void setSort(Integer sort);

}
